package com.qys.livesMall.app.user.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qys.livesMall.app.user.model.dto.sys.HandselQueryDTO;
import com.qys.livesMall.app.user.model.vo.PlatformBalanceDetailVO;
import com.qys.livesMall.app.user.model.vo.UserAccountDetailVO;
import com.qys.livesMall.app.user.model.vo.UserBalanceDetailVO;
import com.qys.livesMall.app.user.model.vo.sys.HandselVO;
import com.qys.livesMall.app.user.model.vo.sys.ProfitAndLossStatisticsVO;
import com.qys.livesMall.finance.model.dto.AccountDdetailSearch;
import com.qys.livesMall.finance.model.dto.AccountDetailSearch;
import com.qys.livesMall.framework.view.BaseQuery;
import com.qys.livesMall.framework.view.QysPage;

/**
 * <p>
 * 用户资金变动记录 服务类
 * </p>
 *
 * @author dp
 * @since 2023-04-24
 */
public interface IH2AppUserBalanceLogService {


    /**
     * 分页查询用户资金记录
     *
     * @param search
     * @return
     */
    QysPage<UserAccountDetailVO> page(AccountDdetailSearch search);

    /**
     * 平台账户列表
     *
     * @param search
     * @return
     */
    QysPage<PlatformBalanceDetailVO> platformList(AccountDetailSearch search);

    /**
     * APP-分页查询用户余额变动记录信息
     *
     * @param search
     */
    QysPage<UserBalanceDetailVO> pageByApp(AccountDetailSearch search,String languageType);

    /**
     * 查询用户彩金数据
     * @param dto
     * @return
     */
    Page<HandselVO> handsel(HandselQueryDTO dto);

    /**
     * 用户盈亏报表
     * @return
     */
    Page<ProfitAndLossStatisticsVO> profitAndLossStatistics(BaseQuery query);
}
